package homework05;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.Random;

public class homework03 {
	public static void main(String[] args) throws IOException {
		BufferedReader fis=new BufferedReader(new FileReader("fw.txt"));
		Random r=new Random();
		int num=r.nextInt(100)+1;
		String lin = null;
		for(int i=1;i<=num;i++){
			lin=fis.readLine();
		}
		String name=lin.split("-")[0];
		System.out.println(name);
		fis.close();
	}
}
